Component({
  data: {
    inputValue: '',
  },
  properties: {
    placeholder: {
      type: String,
      value: '请输入搜索内容'
    }
  },
  methods: {
    handleInput(e) {
      // console.log('输入：', e)
      this.setData({
        inputValue: e.detail.value
      })
    },
    handleSearch() {
      console.log('搜索，关键字：', this.data.inputValue)
    }
  },
})
